/* ZetaWeb - ZetaMQ Web Interface
 *
 * Copyright (c) 2015 xiaohu <xiaohu@elecirc.com>.
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */
var express = require('express');
var router = express.Router();

// Home Page
router.get('/', function(req, res, next) {
  console.error('render now...');
  res.render('index.jade', {
    page_title: 'ZetaMQ - Online Message Queue'
  });
});

module.exports = router;
